
<h3>结算管理
    <small>结算详情</small>
</h3>
<div  ng-controller="accountDetailCtrl" class="panel panel-default">
    <div class="panel-heading">
        <h4>结算信息</h4>
    </div>
    <div class="panel-body " ng-class="loading?'whirl standard':'' " style="border-top: 1px solid #CFDBE2;">
        <table style="width:30%;text-align:left;border:1px solid #ddd" class="table">
            <tbody>
                <tr>
                    <td>结算类型</td>
                    <td>{{message.clearingType | clearingType}}</td>
                </tr>
                <tr>
                    <td>提交结算时间</td>
                    <td>{{message.createTime}}</td>
                </tr>
                <tr>
                    <td>结算处理时间</td>
                    <td>{{message.auditTime}}</td>
                </tr>
                <tr>
                    <td>支付宝账号</td>
                    <td>{{message.alipay |null_value_filter}}</td>
                </tr>
                <tr>
                    <td>支付宝真实姓名</td>
                    <td>{{message.realName|null_value_filter}}</td>
                </tr>
                <tr>
                    <td>结算用户手机</td>
                    <td>{{message.phoneNo}}</td>
                </tr>
                <tr>
                    <td>当前结算状态</td>
                    <td>{{message.state | state}}</td>
                </tr>
                <tr>
                    <td>发票类型</td>
                    <td>{{message.invoiceType | invoiceType}}</td>

                </tr>
                <tr>
                    <td>发票状态</td>
                    <td>{{message.isInvoice | isInvoice}}</td>
                </tr>
            </tbody>
        </table>
    </div>
    <div ng-show="isShow1" class="panel-heading">
        <h4>结算金额</h4>
    </div>
    <div ng-show="isShow1" class="panel-body " ng-class="loading?'whirl standard':'' " style="border-top: 1px solid #CFDBE2;">
        <table style="width:30%;text-align:left;border:1px solid #ddd" class="table">
            <tbody>
                <tr>
                    <td>结算类型</td>
                    <td>数量(人数)</td>
                    <td>金额</td>
                </tr>
                <tr>
                    <td>{{clearingLogForShareCms.type | clearingTypeType}}</td>
                    <td>{{clearingLogForShareCms.num}}</td>
                    <td>{{clearingLogForShareCms.money}}</td>
                </tr>
            </tbody>
        </table>
    </div>
    <div ng-show="isShow2" class="panel-heading">
        <h4>结算明细</h4>
    </div>
    <div ng-show="isShow2" class="panel-body " ng-class="loading?'whirl standard':'' " style="border-top: 1px solid #CFDBE2;">
        <table class="table table-striped table-condensed">
            <thead>
                <tr>
                    <th>日课名称</th>
                    <th>结算金额(年费)</th>
                    <th>结算点击(次)</th>
                    <th>结算金额(单买)</th>
                    <th>结算数量</th>
                    <th>结算收入(税前)</th>
                    <th>结算收入(税后)</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="list in lists">
                    <td>{{list.title}}</td>
                    <td>{{list.clicMoney}}</td>
                    <td>{{list.clickNum}}</td>
                    <td>{{list.buyMoney}}</td>
                    <td>{{list.buyDate}}</td>
                    <td>{{list.allMoney}}</td>
                    <td></td>
                </tr>
                <tr>
                    <td>总计</td>
                    <td>{{data.allClick}}</td>
                    <td>{{data.allClickNum}}</td>
                    <td>{{data.allBuy}}</td>
                    <td>{{data.allbuyDate}}</td>
                    <td>{{data.allMoney}}</td>
                    <td>{{data.atmoney}}</td>
                </tr>
            </tbody>
        </table>
    </div>
</div>